	<h4>Daftar Pendaftar Beasiswa</h4>
	<table id="registrants">
		<thead>
			<tr>
				<th>NPM</th>
				<th>Nama</th>
				<th>Prodi</th>
				<th>Telah Diterima di Beasiswa</th>
				<th>Nama Beasiswa Didaftar</th>
				<th>Keterangan</th>
			</tr>
		</thead>
		<tfoot>
			<?php echo $pager; ?>
		</tfoot>
		<tbody>
<?php 
	if ($data == NULL) :
?>
			<tr>
				<td align="center" colspan="6"><span class="info">Tidak ada data yang sesuai dengan kriteria.</span></td>
			</tr>
<?php 
	else :
		foreach ($data as $registrant) :
?>
			<tr>
				<td align="center"><?php echo $registrant['number']; ?></td>
				<td><?php echo anchor('mahalum/student/profile/index?id='.$registrant['id'], $registrant['student'], array('target' => '_blank')); ?></td>
				<td align="center"><?php echo $registrant['major']; ?></td>
				<td><?php echo $registrant['accepted']; ?>
				<td><?php echo $registrant['name']; ?></td>
				<td><?php echo $registrant['details']; ?></td>
			</tr>
<?php 
		endforeach;
	endif;
?>
		</tbody>
	</table>
	<div class="clear"><?php echo nbs(); ?></div>
<?php echo '</div>'; ?>

<script type="text/javascript">
	$(document).ready(function() {
		$('#registrants').tablesorter({
			widthFixed: true,
			widgets: ['zebra']
		}).tablesorterPager({
			container: $(".pager")
		});
	});
</script>